/**
 * @date 1:44:28 PM
 * App.java
 * Administrator
 * TODO
 */
package com.qs.education;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer;
import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @class App 入口类,用于启动项目
 * @author Brooks
 * @description 
 * @date Oct 17, 2018
 */

@SpringBootApplication
@EnableTransactionManagement
public class App extends SpringBootServletInitializer{
	
	@Override
    protected SpringApplicationBuilder configure(
            SpringApplicationBuilder application) {
        return application.sources(App.class);
    }
	
	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
	

	
}
